//
//  ViewController.h
//  FootPrint
//
//  Created by alex tao on 2/20/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "FootPrintViewController.h"
#import "CalendarViewController.h"
#import "FriendsViewController.h"
#import "SettingViewController.h"
#import "FriendParser.h"

@interface ViewController : UIViewController<InviteDelegate> {
    
    FootPrintViewController *       _footPrintVC;
    CalendarViewController *        _calendarVC;
    FriendsViewController *         _friendsVC;
    SettingViewController *         _settingVC;
    
    UIViewController *              _currentVC;
    FriendParser*                   _parser;
    
}

@property (retain, nonatomic) IBOutlet UIView *contentView;
@property (retain, nonatomic) IBOutlet UIView *tabbarView;


@property (retain, nonatomic) IBOutlet UIButton *fpBtn;
@property (retain, nonatomic) IBOutlet UIImageView *fpIcon;
@property (retain, nonatomic) IBOutlet UIImageView *fpBg;



@property (retain, nonatomic) IBOutlet UIButton *calendarBtn;
@property (retain, nonatomic) IBOutlet UIImageView *calendarBg;
@property (retain, nonatomic) IBOutlet UIImageView *calendarIcon;




@property (retain, nonatomic) IBOutlet UIButton *friendsBtn;
@property (retain, nonatomic) IBOutlet UIImageView *friendsBg;
@property (retain, nonatomic) IBOutlet UIImageView *friendsIcon;




@property (retain, nonatomic) IBOutlet UIButton *settingBtn;
@property (retain, nonatomic) IBOutlet UIImageView *settingBg;
@property (retain, nonatomic) IBOutlet UIImageView *settingIcon;

@property (retain, nonatomic) IBOutlet UIImageView *imgNew;


- (IBAction)showFootPrint:(id)sender;
- (IBAction)showCanlendar:(id)sender;
- (IBAction)showFriends:(id)sender;
- (IBAction)showSetting:(id)sender;


- (void)showNewInvite;
- (void)disNewInvite;

- (void)reload;

@end
